<template>
    <div>
      <!-- 头像区域 -->
        <div class="topnav">
          <router-link :to="{path:'me_usermsg'}">
              <img :src="userlist.headimgurl" alt="">
              <div class="topnav_sun">
                <span>{{userlist.companyName}}</span><br>
                <span>id:{{userlist.companyId}}</span>
                <span><img src="../../assets/images/前进(进入详情页).png" alt=""></span>
              </div>
          </router-link>
        </div>
        <!-- 列表导航 -->
         <div class="bomnav">
           <div class="firstsun">
             <router-link :to="{path:'me_secure'}">
             <span>
               <img src="../../assets/images/账户与安全@2x.png" alt="">
             </span>
             <span>  账户与安全</span>
             <span>
              <img src="../../assets/images/前进(进入详情页).png" alt="">
             </span>
             </router-link>
           </div>

           <!-- <div class="nextsun">
              <router-link to>
             <span>
               <img src="../../assets/images/帮助中心@2x.png" alt="">
             </span>
             <span> 帮助中心</span>
             <span>
              <img src="../../assets/images/前进(进入详情页).png" alt="">
             </span>
             </router-link>
           </div> -->

           <div class="lastsun">
              <router-link to @click.native="guanyu()">
             <span>
               <img src="../../assets/images/logo@2x.png" alt="">
             </span>
             <span> 关于首象</span>
             <span>
              <img src="../../assets/images/前进(进入详情页).png" alt="">
             </span>
             </router-link>
           </div>
         </div>

         <navfooter :pageName=pageName></navfooter>
    </div>
   
</template>

<script>
import navfooter from '@/views/merchant/footer/me_footer'
export default {
    components:{
      navfooter,
    },
      data() {
        return {
            pageName:'me_mine',
            userlist:''
        }
      },
      mounted(){
        this.info()
      },
      methods:{
        guanyu(){
          this.$router.push({name:'User_set'})
        },
        info(){
            this.$http.get(this.APIURL_PREFIX+"/api/wap/myCompany").then((response) => {
                   console.log(response)
                   this.userlist=response.data.data
                   console.log(this.userlist)
               })
        }
      }
};
</script>

<style scoped>
@import "../../assets/personal/css/me_mine.css";
</style>
